<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">

<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="DeineAgentur UG" />
<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAUCEcDEX-uibykgi-t4M3dRRN8aAYtLprXEErWhtw3fBdllebwxSJUz465clCqUEV_wbwOvL6ZK3mcg"></script>
<script>
<!-- <![CDATA[ -->
 

  // Load jQuery
  google.load("jquery","1.4.2");
  google.load("language", "1");
    
function translate_all(){

 var an_array= new Array(
 Array('the text','en','de'),
 Array('the text','en','es')
 );

 for(i=0;i<an_array.length;i++){
        google.language.translate(an_array[i][0], an_array[i][1], an_array[i][2],function(result) {
        if (!result.error) {
        $("#content").append(result.translation+"<br />"); //for instance, or stored in a string
  }
 });
 }
 }
 google.setOnLoadCallback(translate_all);

<!-- ]]> -->
</script>
	<title>ud.local</title>
</head>

<body>

{$SCRIPT_NAME}<br />
{$error}
<div id="content" />
real
</body>
</html>